#include "../RepositoryPropertiesWidget.h"
#include "ui_RepositoryPropertiesWidget.h"

// Constructor and destructor.

RepositoryPropertiesWidget::RepositoryPropertiesWidget(
	QWidget *parent, Qt::WindowFlags flags)
	: QWidget(parent, flags)
{
	createUi();
}

RepositoryPropertiesWidget::~RepositoryPropertiesWidget()
{
	//
}

// Methods.

QString RepositoryPropertiesWidget::getRepositoryName() const
{
	return ui->nameEdit->text();
}

// Helpers.

void RepositoryPropertiesWidget::createUi()
{
	ui = new Ui::RepositoryPropertiesWidget();
	ui->setupUi(this);
}
